package org.gitman.agentplatform.ui.actions;

import javax.swing.AbstractAction;
import javax.swing.Icon;

import org.gitman.agentplatform.core.PlatformManager;
import org.gitman.agentplatform.ui.MainFrame;
import org.gitman.agentplatform.ui.graph.GraphEditor;

public abstract class UIAction extends AbstractAction{
	protected MainFrame mainFrame;
	protected PlatformManager platformManager;
	protected GraphEditor graphEditor;
	
	
	public UIAction(){
		super();
	}
	public UIAction(String name){
		super(name);
	}
	public UIAction(String name, Icon icon){
		super(name, icon);
	}

	public void init(MainFrame mainFrame, PlatformManager platformManager, GraphEditor graphEditor) {
		this.mainFrame = mainFrame;
		this.platformManager = platformManager;
		this.graphEditor = graphEditor;
	}

}
